package com.example.vehicleservice.controller;


import com.example.utils.MinioUtil;
import com.example.vehicleservice.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author cc
 * @since 2022-06-09
 */
@RestController
@RequestMapping("/student")
public class StudentController {

    @Autowired
    private IStudentService studentService;

    @GetMapping("/remove")
    public String remove(){
        return studentService.remove();
    }

    @GetMapping("/student")
    public String getStudent(){
        return "student";
    }

    @GetMapping("/person")
    public String getPerson(){
        return "person";
    }

}
